import numpy as np

# 1.默认为float64
a = np.zeros([5])
print(a)
""" 
[0. 0. 0. 0. 0.]
"""

# 2.int 数组
a = np.zeros([2, 3], dtype=int)
print(a)
""" 
[[0 0 0]
 [0 0 0]]
"""